package org.acghub.config;

import java.io.File;

/**
 * @Desc
 * @Author miyuki4j
 * @Date 2025/7/25/星期五 18:29
 * @Version 1.0
 */
public interface TableDataExchanger extends TableDataImporter, TableDataExporter {

    TableDataExchanger NONE = new TableDataExchanger() {
        @Override
        public TableDataExchangerEnum type() {
            return TableDataExchangerEnum.ALL;
        }

        @Override
        public void exportData(String exportDir, TableData tableData) throws TableDataExportException {

        }

        @Override
        public ImportData importData(File file) throws TableDataImportException {
            return null;
        }
    };

    TableDataExchangerEnum type();

}
